package com.iversonx.responsibility_chain.example_1.v2;

import com.iversonx.responsibility_chain.example_1.v1.FeeRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 **/
@Service
public class FeeRequestServiceV2 {
    @Autowired
    private HandlerChain handlerChain;
    
    public String request(FeeRequest parameter) {
        return handlerChain.handle(parameter);
    }
}
